/*     */ package eos.moe.dragoncore;
/*     */ 
/*     */ 
/*     */ 
/*     */ public class mz
/*     */ {
/*     */   private final String z;
/*   8 */   private int i = 0;
/*   9 */   private int w = 0;
/*  10 */   private int q = 0;
/*  11 */   private int g = 0;
/*     */   
/*     */   public mz(String str) {
/*  14 */     this.z = str;
/*     */   }
/*     */   
/*     */   public boolean v() {
/*  18 */     return (this.i < this.z.length());
/*     */   }
/*     */   
/*     */   public zt v() {
/*  22 */     while (this.i < this.z.length()) {
/*  23 */       if (this.z.length() > this.i + 1) {
/*  24 */         pp pp1 = pp.v(this.z.substring(this.i, this.i + 2));
/*     */         
/*  26 */         if (pp1 != null) {
/*  27 */           this.i += 2;
/*  28 */           return new zt(pp1, v());
/*     */         } 
/*     */       } 
/*     */       
/*  32 */       String str = v(this.i);
/*  33 */       pp pp = pp.v(str);
/*  34 */       if (pp != null) {
/*  35 */         this.i++;
/*  36 */         return new zt(pp, v());
/*  37 */       }  if (str.equals("\"")) {
/*  38 */         int i = this.i;
/*  39 */         int j = this.i + 1;
/*     */         
/*  41 */         while (j < this.z.length() && !v(j).equals("\"")) {
/*  42 */           j++;
/*     */         }
/*     */ 
/*     */         
/*  46 */         this.i = ++j;
/*     */         
/*  48 */         return new zt(pp.d, this.z.substring(i + 1, j - 1), v());
/*  49 */       }  if (str.equals("'")) {
/*  50 */         int i = this.i;
/*  51 */         int j = this.i + 1;
/*     */         
/*  53 */         while (j < this.z.length() && !v(j).equals("'")) {
/*  54 */           j++;
/*     */         }
/*     */ 
/*     */         
/*  58 */         this.i = ++j;
/*     */         
/*  60 */         return new zt(pp.d, this.z.substring(i + 1, j - 1), v());
/*  61 */       }  if (Character.isLetter(str.charAt(0))) {
/*  62 */         int i = this.i + 1;
/*     */         
/*  64 */         while (i < this.z.length() && (Character.isLetterOrDigit(v(i).charAt(0)) || v(i).equals("_") || v(i).equals("."))) {
/*  65 */           i++;
/*     */         }
/*  67 */         String str1 = this.z.substring(this.i, i).toLowerCase();
/*  68 */         pp pp1 = pp.v(str1);
/*     */         
/*  70 */         if (pp1 == null) {
/*  71 */           pp1 = pp.i;
/*  72 */           if (str1.equalsIgnoreCase("w")) {
/*  73 */             str1 = "func.取屏幕宽度";
/*  74 */           } else if (str1.equalsIgnoreCase("h")) {
/*  75 */             str1 = "func.取屏幕高度";
/*  76 */           } else if (!str1.contains(".")) {
/*  77 */             str1 = "func." + str1;
/*     */           } 
/*     */         } 
/*     */         
/*  81 */         this.i = i;
/*  82 */         return new zt(pp1, str1, v());
/*  83 */       }  if (Character.isDigit(str.charAt(0))) {
/*  84 */         int i = this.i;
/*  85 */         int j = this.i + 1;
/*  86 */         boolean bool = false;
/*     */         
/*  88 */         while (j < this.z.length() && (Character.isDigit(v(j).charAt(0)) || (v(j).equals(".") && !bool))) {
/*  89 */           if (v(j).equals(".")) {
/*  90 */             bool = true;
/*     */           }
/*  92 */           j++;
/*     */         } 
/*     */         
/*  95 */         this.i = j;
/*     */         
/*  97 */         return new zt(pp.z, this.z.substring(i, j), v());
/*  98 */       }  if (str.equals("\n") || str.equals("\r")) {
/*  99 */         this.w++;
/*     */       }
/*     */       
/* 102 */       this.i++;
/*     */     } 
/*     */     
/* 105 */     return new zt(pp.w, v());
/*     */   }
/*     */   
/*     */   public void z() {
/* 109 */     this.q = this.i;
/* 110 */     this.g = this.w;
/*     */   }
/*     */   
/*     */   public tu v() {
/* 114 */     return new tu(this.g, this.w, this.q, this.i);
/*     */   }
/*     */   
/*     */   public String v(String str, int i) {
/* 118 */     return str.substring(i, i + 1);
/*     */   }
/*     */   
/*     */   public String v(int i) {
/* 122 */     return this.z.substring(i, i + 1);
/*     */   }
/*     */   
/*     */   public void v() {
/* 126 */     this.i = 0;
/* 127 */     this.w = 0;
/* 128 */     this.q = 0;
/* 129 */     this.g = 0;
/*     */   }
/*     */   
/*     */   public String v() {
/* 133 */     return this.z;
/*     */   }
/*     */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\mz.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */